SERVER=server
CLIENT=client
CC=g++
SERVER_SRC=server.cc
CLIENT_SRC=client.cc
.PHONY: all
all: $(SERVER) $(CLIENT)
$(SERVER): $(SERVER_SRC)
	$(CC) -o $(SERVER) $(SERVER_SRC) -std=c++11
$(CLIENT): $(CLIENT_SRC)
	$(CC) -o $(CLIENT) $(CLIENT_SRC) -std=c++11
.PHONY: clean
clean:
	rm -f $(SERVER) $(CLIENT)